

        <g:set var="entityName" value="${message(code: 'exam.label', default: 'Exam')}" />
            <div class="list">
                <table>
                    <thead>
                        <tr> 
                            <th><g:message code="exam.title.label" default="title" /></th> 
                            <th><g:message code="exam.group.label" default="group" /></th>
                            <th><g:message code="exam.maximum.label" default="maximum" /></th>
                            <th><g:message code="exam.best.label" default="best" /></th>
                            <th><g:message code="exam.pass.label" default="pass" /></th>  
                            <g:sortableColumn property="startTime" title="${message(code: 'exam.startTime.label', default: 'Start Time')}" />
                        
                            <th><g:message code="exam.term.label" default="Term" /></th>
                            <th></th>
                   	    
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${examInstanceList}" status="i" var="examInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${examInstance.id}">${examInstance}</g:link></td>
                        
                            <td>${fieldValue(bean: examInstance, field: "group")}</td>
                            <td>${fieldValue(bean: examInstance, field: "maximum")}</td>
                            <td>${fieldValue(bean: examInstance, field: "best")}</td>
                            <td>${fieldValue(bean: examInstance, field: "pass")}</td>
                         
                         
                            <td><g:formatDate date="${examInstance.startTime}" /></td>
                        
                            <td>${fieldValue(bean: examInstance, field: "term")}</td>
                            <td class="operate"> 
                             <x:operate width="260">
                                 <g:link  action="edit" id="${examInstance.id}"><g:message code="default.button.edit.label" default="修改" /></g:link>
                                 <g:link controller="scoreMgr"  id="${examInstance.id}">添加成绩</g:link>
                                 <g:link controller="scoreAnalyze" action="classesTop"  id="${examInstance.id}">教学质量分析</g:link>
                                 <g:link controller="scoreAnalyze" action="passPie"  id="${examInstance.id}">及格率分析</g:link>
                          
                            </x:operate>
                             </td>
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <x:paginate total="${examInstanceTotal}" />
            </div>
